package com.rnkrsoft.suyan.config.server.services.authority.services;


import com.rnkrsoft.suyan.config.server.services.authority.domains.*;

import javax.doc.annotation.ApidocInterface;
import javax.doc.annotation.ApidocService;

/**
 * Created by woate on 2019/5/19.
 */
@ApidocService("权限服务")
public interface AuthorityService {
    @ApidocInterface("查询")
    QueryAuthorityResponse query(QueryAuthorityRequest request);
    @ApidocInterface("获取用户编号和用户姓名")
    FetchUserIdAndNameResponse fetchUserIdAndName(FetchUserIdAndNameRequest request);
    @ApidocInterface("获取用户编号")
    FetchUserIdResponse fetchUserId(FetchUserIdRequest request);
    @ApidocInterface("删除权限")
    DeleteAuthorityResponse deleteAuthority(DeleteAuthorityRequest request);
}
